<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python-gtk</Name>
        <Homepage>http://www.pygtk.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>GTK+ bindings for Python</Summary>
        <Description>python-gtk lets you to easily create programs with a graphical user interface using the Python programming language and GTK+ library.</Description>
        <Archive sha1sum="344e6a32a5e8c7e0aaeb807e0636a163095231c2" type="tarbz2">mirrors://gnome/pygtk/2.24/pygtk-2.24.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>libglade-devel</Dependency>
            <Dependency>python-pygobject-devel</Dependency>
            <Dependency>python-numpy</Dependency>
            <Dependency>python-cairo-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fix-leaks-of-pango-objects.patch</Patch>
            <Patch level="1">python27.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>python-gtk</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libglade</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-gtk-demo</Name>
        <IsA>app:gui</IsA>
        <Summary>Demo applications for python-gtk</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">python-gtk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pygtk-demo</Path>
            <Path fileType="library">/usr/lib/pygtk/2.0/pygtk-demo.py</Path>
            <Path fileType="data">/usr/lib/pygtk/2.0/demos</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-gtk-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>Reference documents for python-gtk</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">python-gtk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-gtk-devel</Name>
        <Summary>Development files for python-gtk</Summary>
        <RuntimeDependencies>
            <Dependency release="current">python-gtk</Dependency>
            <Dependency>python-pygobject-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libglade-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pygtk-codegen-2.0</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/pygtk</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>2.24.0</Version>
            <Comment>Rebuild for new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.24.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-04</Date>
            <Version>2.24.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
